Skip to main content
GET
/
v1
/
axons
/
{id}
/
events
JavaScript
import Runloop from '@runloop/api-client';

const client = new Runloop({
  bearerToken: process.env['RUNLOOP_API_KEY'], // This is the default and can be omitted
});

const axonEventListView = await client.axons.events.list('id');

console.log(axonEventListView.events);
{
  "events": [
    {
      "sequence": 123,
      "axon_id": "<string>",
      "timestamp_ms": 123,
      "origin": "EXTERNAL_EVENT",
      "source": "<string>",
      "event_type": "<string>",
      "payload": "<string>"
    }
  ],
  "has_more": true,
  "total_count": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.runloop.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The axon identifier.

Query Parameters

limit
integer<int32>

The limit of items to return. Default is 20. Max is 5000.

starting_after
string

Load the next page of data starting after the item with the given ID.

include_total_count
boolean

If true (default), includes total_count in the response. Set to false to skip the count query for better performance on large datasets.

Response

200 - application/json

OK

events
object[]
required

List of axon events.

has_more
boolean
required
total_count
integer<int32> | null